package org.alex.samples.dao;

import java.util.List;

import org.alex.samples.model.ExamStudentVO;
import org.alex.samples.model.Users;


public interface IUserDAO extends IBaseDAO<Users>{
	public List<Users> findAllUser();	
	
	public Users getUserById(String userId);
	
	public Integer createUser(Users user) throws Exception;
	
	public Integer editUser(Users user) throws Exception;

	public Integer delete(String userId)  throws Exception;
	
	public List<ExamStudentVO> FindUserByStudent();
	
	public List<Integer> getAllSubjectByUser(String userId);
	
	public void insertUsersSubject(List<Integer> insertList, String userId);
	
	public void deleteUsersSubject(List<Integer> delList, String userId);
 
	public Users getUserByUserName(String userName);

	//PagerModel<UsersVO> findAllByPage();
	
}
